package com.joy.web.admin.service.impl;

import com.joy.web.admin.mapper.RoleResourceMapper;
import com.joy.web.admin.service.IRoleResourceService;
import com.joy.web.admin.entity.RoleResource;
import com.joy.web.base.service.impl.IBaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjzhao
 * @since 2019-09-17
 */
@Service
public class RoleResourceServiceImpl extends IBaseServiceImpl<RoleResourceMapper, RoleResource> implements IRoleResourceService {

    @Override
    public List<String> findResourceIdListByRoleId(String roleId) throws Exception {
        return baseMapper.findResourceIdListByRoleId(roleId);
    }
}
